Skip to content

[GET] notificationHistory

/api/driver/notificationHistory

NotificationHistoryResponseDTO

Attributes:

Name Type Description
notification_list List[NotificationHistoryDTO]

list of NotificationHistoryDTO objects representing the history of notifications.

NotificationHistoryDTO

Attributes:

Name Type Description
id int

unique identifier for the notification.

path_id Optional[str]

identifier for the path associated with the notification, such as transaction_id.

type NotificationMessageEnum

type of the notification message.

title str

title of the notification.

body str

body content of the notification.

is_seen bool

boolean indicating whether the notification has been seen.

created_at str

datetime when the notification was created.